package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author zz_source
 * @creat 2022-08-30-21:46
 */
@Component
public class PaymentFallbackService implements  PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务端8001：PaymentFallbackService ------- paymentInfo_OK ------ 挂了";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务端8001：PaymentFallbackService ------- paymentInfo_TimeOut ------ 挂了";
    }
}
